/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

//  报表管理
const reportManagement = {
  path: '/report-management',
  component: Layout,
  redirect: '/report-management/domestic/mlftp-curve-interest-rate',
  name: 'report-management',
  meta: {
    title: 'reportManagement', 
    icon: 'excel'
  },
  children: [
    { //境内报表
      path: 'domestic',
      component: () => import('@/views/ReportManagement/Domestic'),  //router-view
      redirect: 'domestic/mlftp-curve-interest-rate',
      name: 'rm-domestic',
      meta: {title: 'rmDomestic'},
      children: [
        { //ML-FTP曲线利率
          path: 'mlftp-curve-interest-rate',
          component: () => import('@/views/ReportManagement/Domestic/MlftpCurveInterestRate'),  
          name: 'rd-mlftp-curve-interest-rate',
          meta: {title: 'rdMlftpCurveInterestRate'},
        },
        { //ML-FTP成本
          path: 'aftp-cost',
          component: () => import('@/views/ReportManagement/Domestic/AftpCost'),  
          name: 'rd-aftp-cost',
          meta: {title: 'rdAftpCost'},
        },
        { //ML-内部成本-单项明细
          path: 'aftp-cost-dept',
          component: () => import('@/views/ReportManagement/Domestic/AftpCostDept'),  
          name: 'rd-aftp-cost-dept',
          meta: {title: 'rdAftpCostDept'},
        },
        { //ML-内部成本-product层级
          path: 'a-special-costs',
          component: () => import('@/views/ReportManagement/Domestic/ASpecialCosts'),  
          name: 'rd-a-special-costs',
          meta: {title: 'rdASpecialCosts'},
        },
        { //ML-内部成本-project层级
          path: 'internal-cost-project',
          component: () => import('@/views/ReportManagement/Domestic/InternalCostProject'),  
          name: 'rd-internal-cost-project',
          meta: {title: 'rdInternalCostProject'},
        },
        { //ML-特殊成本
          path: 'pc-entity-report-project',
          component: () => import('@/views/ReportManagement/Domestic/PCEntityReportProject'),  
          name: 'rd-pc-entity-report-project',
          meta: {title: 'rdPCEntityReportProject'},
        },



        // { //内部成本-product层级
        //   path: 'internal-cost-product',
        //   component: () => import('@/views/ReportManagement/Domestic/InternalCostProduct'),  
        //   name: 'rd-internal-cost-product',
        //   meta: {title: 'rdInternalCostProduct'},
        // },
        // { //内部成本汇总
        //   path: 'internal-cost-summary',
        //   component: () => import('@/views/ReportManagement/Domestic/InternalCostSummary'),
        //   name: 'rd-internal-cost-summary',
        //   meta: {title: 'rdInternalCostSummary'},
        // },


      ]
    },
    { //境外报表
      path: 'overseas',
      component: () => import('@/views/ReportManagement/Overseas'), //router-view
      redirect: 'overseas/ftp-curve-interest-rate',
      name: 'rm-overseas',
      meta: {title: 'rmOverseas'},
      children: [
        { //FTP曲线利率
          path: 'ftp-curve-interest-rate',
          component: () => import('@/views/ReportManagement/Overseas/FtpCurveInterestRate'),
          name: 'ro-ftp-curve-interest-rate',
          meta: {
            title: 'roFtpCurveInterestRate',
          },
        },
        { //Project利率
          path: 'project-rates',
          component: () => import('@/views/ReportManagement/Overseas/ProjectRates'),
          name: 'ro-project-rates',
          meta: {
            title: 'roProjectRates',
          },
        },
      ]
    },
  ]
}
export default reportManagement
